/**
 * 会员接口
 */
// 引入axios
import service from "@/util/service";
/**
 * 会员列表
 */
export const memberList = (params?:any)=>{
    return service({
        url:"/vip/vipList",
        method:"get",
        params
    });
}
/** 
 * 删除会员
*/
export const delTheMember = (params?:any)=>{
    return service({
        url:"/vip/delete",
        method:"get",
        params
    });
}
/**
 * 新增会员
 */
export const newAMember = (data:any)=>{
    return service({
        url:"/vip/add",
        method:"post",
        data
    });
}
/**
 * 修改会员
 */
export const updateAMember = (data:any)=>{
    return service({
        url:"/vip/update",
        method:"post",
        data
    });
}